import request from '@/utils/request'
import { memberApi } from '@/utils/comm'

// 查询用户银行卡列表
export function listUserBankCard(query) {
  return request({
    url: `${memberApi}/userBankCard/list`,
    method: 'get',
    params: query
  })
}

// 查询用户银行卡详细
export function getUserBankCard(id) {
  return request({
    url: `${memberApi}/userBankCard/` + id,
    method: 'get'
  })
}